if __name__ == '__main__':
    # 将参数转换为字典
    # 键值对
    temp1 = dict()
    print(type(temp1))
    print(temp1)

    temp2 = dict([('a', 1), ("b", 2)])
    print(temp2)

    # dictionary update sequence element #0 has length 3; 2 is required
    # temp3 = dict([('a', 1, "xyz"), ("b", 2, "uvw")])
    # print(temp3)